package com.hamster.crm.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 员工评分实体类  对应表 employee_score
 * @author Tarry
 * @create 2019/12/21 15:55
 */
@Data
@TableName("employee_score") // 注解指定表名
public class EmployeeScore {
    @TableId
    private String id;    //主键id
    private String employeeId; //员工id
    private String employeeName; //员工姓名
    private Double score;    //分数
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date scoreTime;  //评分时间
    private String grade;    //级别

    @TableField(exist = false)
    private String department;

    private String remark;   //备注
    private String  inputUser;//录入人
    private Date inputTime; //录入日期
    private String del;//数据状态【删除标记】0正常   1删除
}
